from django.urls import path
from rest_framework.routers import DefaultRouter
from app.system.views.uploadfile import UploadFile
from app.system.views.img import Img



router = DefaultRouter()
router.register(r'img', Img, basename='img')

urlpatterns = [
  path('uploadfile', UploadFile.as_view()),
  path('img/avatartocartton', Img.as_view()),
]